package com.adtec.base.cloud.baseservice.rbac.system.model;

import lombok.Data;
import lombok.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@ConfigurationProperties(prefix = "spring.datasource")
@Component
public class Datasource {
    private String url;
    private String username;
    private String password;
}
